#ifndef __YUMI_H__
#define __YUMI_H__

#include "Sprite.h"
using namespace Ogre;
class Yumi : public Sprite
{
public:
	Yumi(Ogre::SceneManager * _sm , Ogre::Camera * _c)
		:Sprite(_sm, _c)
	{
		mLife = 3.0f;
		mLifeLeft = 0.0f;
		height = 3.0f;
		mLinearVelocityFX = btVector3(0,0,0);
	}

	//Game relative
	Ogre::Real mLife;
	Ogre::Real mLifeLeft;
	Ogre::Real height;

	btVector3 mLinearVelocityFX;

	virtual void spriteMove(int, int );
	virtual void update(Ogre::Real timeSinceLast);
	void reborn();
	void kill();
	bool isAlive();


	virtual void eventClick(int _xx, int _yy);
	virtual void eventMouseMove(int _x, int _y, int _xRel, int _yRel, bool isButtonDown);
	virtual void eventMouseRelease(int _xx, int _yy);
	virtual void stateMouseDown(int _x, int _y, int _xRel, int _yRel, bool isButtonDown);


};


#endif